05. Check For Understanding: Functions
Check for Understanding
Let's do a quick review of concepts learned so far. As before, you will see some earlier concepts being revisited. It's important to review older concepts along with newer ones, to keep a firm grasp on your foundations.
QUIZ QUESTION: :
Below are some types of statements you have used. Can you match each piece of code with the type of statement?
ANSWER CHOICES:
CODE |
TYPE OF STATEMENT |
---|---|
Method call |
|
|
|
|
|
Not a statement |
|
Assignment statement |
SOLUTION:
CODE |
TYPE OF STATEMENT |
---|---|
Method call |
|
|
|
|
|
Not a statement |
|
Assignment statement |
QUIZ QUESTION: :
Match each term with its description.
ANSWER CHOICES:
DESCRIPTION |
TERM |
---|---|
Argument |
|
Function |
|
Function call |
|
Method |
SOLUTION:
DESCRIPTION |
TERM |
---|---|
Argument |
|
Function |
|
Function call |
|
Method |